package com.ssy.lingxi.product.api.model.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 分类属性实体
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/7/2
 */
@Data
public class CategoryAttributeRequest {
    /**
     * 品类id
     */
    @NotEmpty(message = "品类id不能为空")
    private Long categoryId;
    /**
     * 属性id
     */
    @NotEmpty(message = "属性id不能为空")
    private List<Long> attributeIds;
}
